package com.ly.count.impl.score.transfer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ly.count.score.param.CPlusRoomScorePage;
import com.ly.count.score.po.CPlusRoomScoreRecord;
public class CPlusRoomScoreTransfer {
    public static Page<CPlusRoomScoreRecord> toPage(CPlusRoomScorePage cPlusRoomScorePage) {
        Page<CPlusRoomScoreRecord> page = new Page<>();
        page.setTotal(cPlusRoomScorePage.getTotal());
        page.setCurrent(cPlusRoomScorePage.getCurrent());
        page.setSize(cPlusRoomScorePage.getSize());

        return page;
    }
}
